package repository

import "blog/internal/models"

type IUserRepository interface {
	// FindByUsername 根据用户名查找用户信息
	FindByUsername(username string) (*models.User, error)

	FindById(userId int64) (*models.User, error)

	UpdateLastLogin(user *models.User) error
}
